package org.lex.input.effects.component;

public interface SpringModel {

	public void displace(float distance);

	public float getDisplacement();

	public void setDisplacement(float displacement);

	public void stop();
	
	public float getTravelVector();

	public float getDisplacedPoint();

	public void setDisplacedPoint(float displacedPoint);

	public float getRestPoint();

	public void setRestPoint(float restPoint);

	/**
	 * This method updates for the spring, also it should set the travel vector,
	 * based on the change of spring displacement.
	 * 
	 * @param deltaT
	 */
	public void update(float deltaT);

}